
import request from '../request.js'

// /annealing/listPage 列表
export function getList (params) {
  return request({
    url: '/annealing/listPage',
    method: "GET",
    params
  })
}
// /annealing/add-or-update 新增

export function addItem (params) {
  return request({
    url: 'annealing/add-or-update',
    method: "POST",
    data: params
  })
}

// /annealing/{id} 删除

export function deleteItem (params) {
  return request({
    url: `annealing/${params.id}`,
    method: "DELETE",
  })
}
